package com.hansming.bss.modules.sfc.dao;

import org.apache.ibatis.annotations.Param;

import com.hansming.bss.common.persistence.annotation.MyBatisDao;
import com.hansming.bss.modules.sfc.entity.CustomerLog;


/**
 * 顾客用户积分记录Dao接口
 * @author Hansming
 * @version 2017-12-09
 */
@MyBatisDao
public interface CustomerLogDao {
	
	public void	save( @Param("id")String id,@Param("datetime")String datetime,@Param("score")Integer score,@Param("detail")String detail,@Param("type")String type,@Param("cusid")String cusid);
	
	public void	update( @Param("id")String id,@Param("datetime")String datetime,@Param("score")Integer score,@Param("detail")String detail,@Param("type")String type,@Param("cusid")String cusid);

	public void delete(@Param("id")String id);
	
	public CustomerLog	selectbyid(@Param("id")String id);
}
